import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-03-20
 * Time:21:22
 */
public class TestDemo {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int n=scanner.nextInt();
        if(n<18){
            System.out.println("少年");
        }else if(n>=18&&n<28){
            System.out.println("青年");
        }else if(n>=28&&n<55){
            System.out.println("中年");
        }else if(n>=55){
            System.out.println("老年");
        }
        scanner.close();
    }
}
